home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group93c.txt
/
000007_icon-group-sender _Sun Jul 11 10:50:13 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1994-02-02
|
1KB
Received: by cheltenham.cs.arizona.edu; Sun, 11 Jul 1993 11:42:13 MST
Date: Sun, 11 Jul 1993 10:50:13 MST
From: "Gregg Townsend" <gmt>
Message-Id: <199307111750.AA26383@owl.cs.arizona.edu>
To: icon-group
Subject: Re: Sort enhancements for records and lists
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
From: Paul_Abrahams@MTS.cc.Wayne.edu
...records are sorted in order of their creation times. Lists are
treated similarly. It's hard to imagine how that ordering can be put to
a useful purpose.
Not at all. Creation order often relates directly to something significant
such as order of appearance in an input file. I have written programs that
make use of the defined order.
The obvious rule for sorting lists is that they are sorted by their first
element....
As soon as you start looking inside the lists and records you get into
potential recursion problems. For example, how would you order two lists,
each of which contains the *other* list as the first and only element?
Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
+1 602 621 4325 gmt@cs.arizona.edu 110 57 16 W / 32 13 45 N / +758m